package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Praise;
import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.PraiseQueryObject;

import java.util.List;

public interface IPraiseService {

    void saveOrUpdatePraise(Praise praise);

    Praise get(Praise entity);

    List<Praise> getUserIdLike(PraiseQueryObject qo);

    void update(PraiseQueryObject qo);

    Integer getPraiseNum(Long typeId, Integer type);

    void updatePraise(Praise entity);
}
